using System;
using System.Xml;

namespace FreeFlow.Client
{
	/// <summary>
	/// A checkbox field.
	/// </summary>
	[Serializable]
	public class CheckField : Field
	{
    internal CheckField(Form form, XmlElement fieldNode)
      : base(form, fieldNode)
		{
      if (fieldNode != null)
        caption = fieldNode.Attributes["Caption"].Value;
		}

    private string caption;
    /// <summary>
    /// Gets the caption of the button.
    /// </summary>
    public string Caption
    {
      get { return caption; }
    }
	}
}
